package com.lanlengran.musicplayer.utils;

import android.content.Context;
import android.util.Log;
import android.widget.Toast;

/**
 * Created by dobest on 2016/6/6.
 */
public class Utils {
    public static void toastShort(Context context,String string){
        Toast.makeText(context, string,Toast.LENGTH_SHORT).show();
    }
    public static void toastLong(Context context,String string){
        Toast.makeText(context, string,Toast.LENGTH_LONG).show();
    }
    public static void log_i(String string){
        Log.i("qin:",string);
    }
    public static void log_e(String string){
        Log.e("qin:",string);
    }
}
